<?php

class myUser extends sfBasicSecurityUser
{

    public static function reportarError($id, $error, $mensage)
    {
       $peticion = sfContext::getInstance()->getRequest();
       $peticion->setError($error, $mensage);
       $user = sfContext::getInstance()->getUser();
       $user->setAttribute($id, $error." *** ".$mensage);
       
    }
}
